<h1>Edit order details</h1>

<div class="form">
  <fieldset>
  <legend>Enter order details.</legend>
<% if logged_in? %>
  <% form_for :order, :url => { :action => "update", 
                                  :id => @order.id } do |form| %>

    <%= render :partial => 'form', :object => form %>

    <%= submit_tag "Save", :class => "submit" %> &nbsp;
    <%= link_to "cancel", { :action => "show", :id => @order.id }, # <label id="code.rails_app.controller_views.7"/>
                            :class => "cancel" %>
  <% end %>
<div float="right">Please make sure you type "cancelled", "completed" or "processing" in the order status. </div>
<%else%>
<h2>You must log in to perform this action!</h2>
<%end%>
  </fieldset>
</div>
